//
#import "BKConstant.h"

@implementation BKConstant

- (id) initWithXMLElement: (NSXMLElement*) elem signatures: (BKSignatures*) sigs
{
	if(self = [super initWithXMLElement: elem signatures: sigs])
	{
		NSXMLNode* theNode;
		if(theNode = [elem attributeForName: @"magic_cookie"])
		{
			if([[theNode stringValue] isEqual:@ "true"])
				_magicCookie = YES;
		}
	}
	return self;
}

@synthesize magicCookie = _magicCookie;

@end
